<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
<script type="text/javascript" src="/resource/js/admin/articlegather.js"></script>
</head>
<body>
	<div class="position"><span>您的当前位置：</span>文档管理 > 文档采集</div>
	<div class="rightbody f">
		<div class="rightbodycontent">
		   	<table class="tools">
		       	<tr>
		            <td>
		            	选项：<label><input type="checkbox" id="namefilter" checked />同名标题过滤</label>
		            </td>
		        </tr>
		    </table>
		    <table cellspacing="1" cellpadding="4" class="tablelist">
		        <tr>
		            <th>采集项目名称</th>
				    <th>目标URL地址</th>
				    <th>页面编码</th>
				    <th>采集外部链接</th>
				    <th>操作</th>
		        </tr>
		        <#list gathers as gather>
					<tr<#if gather_index % 2 == 1> class="splittr"</#if>>
						<td align="center">${gather.name}</td>
					    <td align="center"><a href="${gather.targeturl}" target="_blank">${gather.targeturl}</a></td>
					    <td align="center">${gather.encode}</td>
					    <td align="center"><img src="/resource/image/admin/main/right/ico/${gather.outlink?string("ok","delete")}.png" /></td>
					    <td align="center">
                            <a onclick="gather(${gather.id})" class="linkbtn down noborder">开始采集</a>
					    </td>
					</tr>
		        </#list>
		    </table>
	    </div>
    </div>
</body>
</html>